import Vue from 'vue'
import axios from 'axios'
import ElementUI from 'element-ui';

import App from './App'
import router from './router'
import "@/assets/css/normalize.css"
import "../public/js/commonSettings"
// 将axios挂载到Vue上
//Vue.prototype.$axios = axios
import '@/api/api.js'
import 'element-ui/lib/theme-chalk/index.css';

// if (!process.env.IS_WEB) Vue.use(require('vue-electron'))
Vue.http = Vue.prototype.$http = axios
Vue.config.productionTip = false

Vue.use(ElementUI, { size: 'mini', zIndex: 3000 })//全局字体尺寸为mini



/* eslint-disable no-new */
new Vue({
  components: { App },
  router,
  // store,
  template: '<App/>'
}).$mount('#app')
